<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: /home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/io/SocketOptions.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_076842b242c291358044feb169933571.html">aws</a></li><li class="navelem"><a class="el" href="dir_cc4322e4b2151c90adb7cd2e3f54423a.html">crt</a></li><li class="navelem"><a class="el" href="dir_b90b4e231cf9df4b6b8451850277e486.html">io</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">SocketOptions.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="SocketOptions_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;).</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * You may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * A copy of the License is located at</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *  http://aws.amazon.com/apache2.0</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * or in the &quot;license&quot; file accompanying this file. This file is distributed</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * express or implied. See the License for the specific language governing</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * permissions and limitations under the License.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Exports_8h.html">aws/crt/Exports.h</a>&gt;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;aws/io/socket.h&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceAws.html">Aws</a></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;{</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keyword">namespace </span>Crt</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    {</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        <span class="keyword">namespace </span>Io</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        {</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8e">   27</a></span>&#160;            <span class="keyword">enum class</span> <a class="code" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8e">SocketType</a></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;            {</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8eaeae835e83c0494a376229f254f7d3392">Stream</a> = AWS_SOCKET_STREAM,</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8eac3177658ef36637801bea6fd4f1a1e92">Dgram</a> = AWS_SOCKET_DGRAM,</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;            };</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8e">   42</a></span>&#160;            <span class="keyword">enum class</span> <a class="code" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8e">SocketDomain</a></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;            {</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8ea42a9137a05a60eb752dcdf982e717626">IPv4</a> = AWS_SOCKET_IPV4,</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8eafdb7cb8f657426e7c409bfd6d1a36ce4">IPv6</a> = AWS_SOCKET_IPV6,</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8ea509820290d57f333403f490dde7316f4">Local</a> = AWS_SOCKET_LOCAL,</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;            };</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">   54</a></span>&#160;            <span class="keyword">class </span><a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;            {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;              <span class="keyword">public</span>:</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;                <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2e6627e00ee2e2496f7cc72c12f72b56">SocketOptions</a>();</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2c727acc2fb48714414f4a7a436193e7">   58</a></span>&#160;                <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2c727acc2fb48714414f4a7a436193e7">SocketOptions</a>(<span class="keyword">const</span> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;rhs) = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#af1be2a66410a13a472bb256636499ea1">   59</a></span>&#160;                <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#af1be2a66410a13a472bb256636499ea1">SocketOptions</a>(<a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;&amp;rhs) = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab1d59b2d73797cbc3adaa7a5d3981788">   61</a></span>&#160;                <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;<a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab1d59b2d73797cbc3adaa7a5d3981788">operator=</a>(<span class="keyword">const</span> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;rhs) = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a04a1afbbc253079ec1b12148eecaad03">   62</a></span>&#160;                <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;<a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a04a1afbbc253079ec1b12148eecaad03">operator=</a>(<a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">SocketOptions</a> &amp;&amp;rhs) = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa4539b3d8ae69a646d5e1c9de3a2f0f3">   67</a></span>&#160;                <span class="keywordtype">void</span> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa4539b3d8ae69a646d5e1c9de3a2f0f3">SetSocketType</a>(<a class="code" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8e">SocketType</a> <a class="code" href="namespaceAws.html#a5256b1ff01fae77769fee34ff8ef45a7">type</a>) { options.type = (<span class="keyword">enum</span> aws_socket_type)<a class="code" href="namespaceAws.html#a5256b1ff01fae77769fee34ff8ef45a7">type</a>; }</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab3f15fd43d8239d4900a1a94a84030bf">   68</a></span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8e">SocketType</a> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab3f15fd43d8239d4900a1a94a84030bf">GetSocketType</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<a class="code" href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8e">SocketType</a>)options.type; }</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa43034341f19b6cc4c35e83c238fd543">   73</a></span>&#160;                <span class="keywordtype">void</span> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa43034341f19b6cc4c35e83c238fd543">SetSocketDomain</a>(<a class="code" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8e">SocketDomain</a> domain) { options.domain = (<span class="keyword">enum</span> aws_socket_domain)domain; }</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#abe860c9db9fec78f9ff21e75b9066e1d">   74</a></span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8e">SocketDomain</a> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#abe860c9db9fec78f9ff21e75b9066e1d">GetSocketDomain</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<a class="code" href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8e">SocketDomain</a>)options.domain; }</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab94fd569a92ef5cafb44f589023910e2">   79</a></span>&#160;                <span class="keywordtype">void</span> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab94fd569a92ef5cafb44f589023910e2">SetConnectTimeoutMs</a>(uint32_t timeout) { options.connect_timeout_ms = timeout; }</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a807294198f6870f158366c886e301085">   80</a></span>&#160;                uint32_t <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a807294198f6870f158366c886e301085">GetConnectTimeoutMs</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> options.connect_timeout_ms; }</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aafc7da8e670cb929594f20759bec8679">   86</a></span>&#160;                <span class="keywordtype">void</span> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aafc7da8e670cb929594f20759bec8679">SetKeepAliveIntervalSec</a>(uint16_t keepAliveInterval)</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;                {</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;                    options.keep_alive_interval_sec = keepAliveInterval;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;                }</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#af26f6acc8828eec69c3d48caae523e96">   90</a></span>&#160;                uint16_t <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#af26f6acc8828eec69c3d48caae523e96">GetKeepAliveIntervalSec</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> options.keep_alive_interval_sec; }</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa821f8fe9b4ff242ca136e183270c4c6">   96</a></span>&#160;                <span class="keywordtype">void</span> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa821f8fe9b4ff242ca136e183270c4c6">SetKeepAliveTimeoutSec</a>(uint16_t keepAliveTimeout)</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;                {</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;                    options.keep_alive_timeout_sec = keepAliveTimeout;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;                }</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aeaec6a6bba4da287db68119c03c13e44">  100</a></span>&#160;                uint16_t <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aeaec6a6bba4da287db68119c03c13e44">GetKeepAliveTimeoutSec</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> options.keep_alive_timeout_sec; }</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2c3d435cde37ba74acb5bff0f4d1764f">  106</a></span>&#160;                <span class="keywordtype">void</span> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2c3d435cde37ba74acb5bff0f4d1764f">SetKeepAliveMaxFailedProbes</a>(uint16_t maxProbes)</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;                {</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                    options.keep_alive_max_failed_probes = maxProbes;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;                }</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#adab1d2b3b3b9368fe751d29770d8b688">  110</a></span>&#160;                uint16_t <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#adab1d2b3b3b9368fe751d29770d8b688">GetKeepAliveMaxFailedProbes</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> options.keep_alive_max_failed_probes; }</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#acd47d078f5f48fe3eefababd23d5c163">  115</a></span>&#160;                <span class="keywordtype">void</span> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#acd47d078f5f48fe3eefababd23d5c163">SetKeepAlive</a>(<span class="keywordtype">bool</span> keepAlive) { options.keepalive = keepAlive; }</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#affb94e37116c4a6ccd80ebe3f0950806">  116</a></span>&#160;                <span class="keywordtype">bool</span> <a class="code" href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#affb94e37116c4a6ccd80ebe3f0950806">GetKeepAlive</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> options.keepalive; }</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;                aws_socket_options &amp;GetImpl() { <span class="keywordflow">return</span> options; }</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;                <span class="keyword">const</span> aws_socket_options &amp;GetImpl()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> options; }</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;              <span class="keyword">private</span>:</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;                aws_socket_options options;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;            };</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        } <span class="comment">// namespace Io</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    }     <span class="comment">// namespace Crt</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;} <span class="comment">// namespace Aws</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_aa821f8fe9b4ff242ca136e183270c4c6"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa821f8fe9b4ff242ca136e183270c4c6">Aws::Crt::Io::SocketOptions::SetKeepAliveTimeoutSec</a></div><div class="ttdeci">void SetKeepAliveTimeoutSec(uint16_t keepAliveTimeout)</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:96</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_aa4539b3d8ae69a646d5e1c9de3a2f0f3"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa4539b3d8ae69a646d5e1c9de3a2f0f3">Aws::Crt::Io::SocketOptions::SetSocketType</a></div><div class="ttdeci">void SetSocketType(SocketType type)</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:67</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_adab1d2b3b3b9368fe751d29770d8b688"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#adab1d2b3b3b9368fe751d29770d8b688">Aws::Crt::Io::SocketOptions::GetKeepAliveMaxFailedProbes</a></div><div class="ttdeci">uint16_t GetKeepAliveMaxFailedProbes() const</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:110</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_affb94e37116c4a6ccd80ebe3f0950806"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#affb94e37116c4a6ccd80ebe3f0950806">Aws::Crt::Io::SocketOptions::GetKeepAlive</a></div><div class="ttdeci">bool GetKeepAlive() const</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:116</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html">Aws::Crt::Io::SocketOptions</a></div><div class="ttdef"><b>Definition:</b> SocketOptions.h:55</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_a04a1afbbc253079ec1b12148eecaad03"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a04a1afbbc253079ec1b12148eecaad03">Aws::Crt::Io::SocketOptions::operator=</a></div><div class="ttdeci">SocketOptions &amp; operator=(SocketOptions &amp;&amp;rhs)=default</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_ab3f15fd43d8239d4900a1a94a84030bf"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab3f15fd43d8239d4900a1a94a84030bf">Aws::Crt::Io::SocketOptions::GetSocketType</a></div><div class="ttdeci">SocketType GetSocketType() const</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:68</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_aeaec6a6bba4da287db68119c03c13e44"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aeaec6a6bba4da287db68119c03c13e44">Aws::Crt::Io::SocketOptions::GetKeepAliveTimeoutSec</a></div><div class="ttdeci">uint16_t GetKeepAliveTimeoutSec() const</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:100</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_a2c727acc2fb48714414f4a7a436193e7"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2c727acc2fb48714414f4a7a436193e7">Aws::Crt::Io::SocketOptions::SocketOptions</a></div><div class="ttdeci">SocketOptions(const SocketOptions &amp;rhs)=default</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_a2c3d435cde37ba74acb5bff0f4d1764f"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2c3d435cde37ba74acb5bff0f4d1764f">Aws::Crt::Io::SocketOptions::SetKeepAliveMaxFailedProbes</a></div><div class="ttdeci">void SetKeepAliveMaxFailedProbes(uint16_t maxProbes)</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:106</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_a807294198f6870f158366c886e301085"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a807294198f6870f158366c886e301085">Aws::Crt::Io::SocketOptions::GetConnectTimeoutMs</a></div><div class="ttdeci">uint32_t GetConnectTimeoutMs() const</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:80</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_aa43034341f19b6cc4c35e83c238fd543"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aa43034341f19b6cc4c35e83c238fd543">Aws::Crt::Io::SocketOptions::SetSocketDomain</a></div><div class="ttdeci">void SetSocketDomain(SocketDomain domain)</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:73</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Io_html_ae5f9aa2fd04a14dfa0cd50a8b56e6b8eaeae835e83c0494a376229f254f7d3392"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8eaeae835e83c0494a376229f254f7d3392">Aws::Crt::Io::SocketType::Stream</a></div><div class="ttdeci">@ Stream</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Io_html_a12c31e83beb297296621c8a361b58f8ea509820290d57f333403f490dde7316f4"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8ea509820290d57f333403f490dde7316f4">Aws::Crt::Io::SocketDomain::Local</a></div><div class="ttdeci">@ Local</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Io_html_a12c31e83beb297296621c8a361b58f8ea42a9137a05a60eb752dcdf982e717626"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8ea42a9137a05a60eb752dcdf982e717626">Aws::Crt::Io::SocketDomain::IPv4</a></div><div class="ttdeci">@ IPv4</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_abe860c9db9fec78f9ff21e75b9066e1d"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#abe860c9db9fec78f9ff21e75b9066e1d">Aws::Crt::Io::SocketOptions::GetSocketDomain</a></div><div class="ttdeci">SocketDomain GetSocketDomain() const</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:74</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_ab94fd569a92ef5cafb44f589023910e2"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab94fd569a92ef5cafb44f589023910e2">Aws::Crt::Io::SocketOptions::SetConnectTimeoutMs</a></div><div class="ttdeci">void SetConnectTimeoutMs(uint32_t timeout)</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:79</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_a2e6627e00ee2e2496f7cc72c12f72b56"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#a2e6627e00ee2e2496f7cc72c12f72b56">Aws::Crt::Io::SocketOptions::SocketOptions</a></div><div class="ttdeci">SocketOptions()</div><div class="ttdef"><b>Definition:</b> SocketOptions.cpp:26</div></div>
<div class="ttc" id="anamespaceAws_html"><div class="ttname"><a href="namespaceAws.html">Aws</a></div><div class="ttdef"><b>Definition:</b> Api.h:25</div></div>
<div class="ttc" id="aExports_8h_html"><div class="ttname"><a href="Exports_8h.html">Exports.h</a></div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_ab1d59b2d73797cbc3adaa7a5d3981788"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#ab1d59b2d73797cbc3adaa7a5d3981788">Aws::Crt::Io::SocketOptions::operator=</a></div><div class="ttdeci">SocketOptions &amp; operator=(const SocketOptions &amp;rhs)=default</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_af1be2a66410a13a472bb256636499ea1"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#af1be2a66410a13a472bb256636499ea1">Aws::Crt::Io::SocketOptions::SocketOptions</a></div><div class="ttdeci">SocketOptions(SocketOptions &amp;&amp;rhs)=default</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_aafc7da8e670cb929594f20759bec8679"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#aafc7da8e670cb929594f20759bec8679">Aws::Crt::Io::SocketOptions::SetKeepAliveIntervalSec</a></div><div class="ttdeci">void SetKeepAliveIntervalSec(uint16_t keepAliveInterval)</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:86</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Io_html_a12c31e83beb297296621c8a361b58f8eafdb7cb8f657426e7c409bfd6d1a36ce4"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8eafdb7cb8f657426e7c409bfd6d1a36ce4">Aws::Crt::Io::SocketDomain::IPv6</a></div><div class="ttdeci">@ IPv6</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_acd47d078f5f48fe3eefababd23d5c163"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#acd47d078f5f48fe3eefababd23d5c163">Aws::Crt::Io::SocketOptions::SetKeepAlive</a></div><div class="ttdeci">void SetKeepAlive(bool keepAlive)</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:115</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Io_1_1SocketOptions_html_af26f6acc8828eec69c3d48caae523e96"><div class="ttname"><a href="classAws_1_1Crt_1_1Io_1_1SocketOptions.html#af26f6acc8828eec69c3d48caae523e96">Aws::Crt::Io::SocketOptions::GetKeepAliveIntervalSec</a></div><div class="ttdeci">uint16_t GetKeepAliveIntervalSec() const</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:90</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Io_html_a12c31e83beb297296621c8a361b58f8e"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Io.html#a12c31e83beb297296621c8a361b58f8e">Aws::Crt::Io::SocketDomain</a></div><div class="ttdeci">SocketDomain</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:43</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Io_html_ae5f9aa2fd04a14dfa0cd50a8b56e6b8eac3177658ef36637801bea6fd4f1a1e92"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8eac3177658ef36637801bea6fd4f1a1e92">Aws::Crt::Io::SocketType::Dgram</a></div><div class="ttdeci">@ Dgram</div></div>
<div class="ttc" id="anamespaceAws_html_a5256b1ff01fae77769fee34ff8ef45a7"><div class="ttname"><a href="namespaceAws.html#a5256b1ff01fae77769fee34ff8ef45a7">Aws::type</a></div><div class="ttdeci">newitem type</div><div class="ttdef"><b>Definition:</b> cJSON.cpp:2209</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Io_html_ae5f9aa2fd04a14dfa0cd50a8b56e6b8e"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Io.html#ae5f9aa2fd04a14dfa0cd50a8b56e6b8e">Aws::Crt::Io::SocketType</a></div><div class="ttdeci">SocketType</div><div class="ttdef"><b>Definition:</b> SocketOptions.h:28</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
